package org.weed.remote.http;

import java.nio.channels.SelectionKey;

public class HttpConstants {
	// IO
	public static final int BUFFER_SIZE = 1024;
	
	// HTTP Method
	public final static int HTTP_METHOD_GET = 1 << 0;
	public final static int HTTP_METHOD_POST = 1 << 1;
	public final static int HTTP_METHOD_PUT = 1 << 2;
	public final static int HTTP_METHOD_DELETE = 1 << 3;
	public final static int HTTP_METHOD_HEAD = 1 << 4;

	// Selector Event
	public final static int NONE = 0;
	public final static int ACCEPT = SelectionKey.OP_ACCEPT;
	public final static int READ = SelectionKey.OP_READ;
	public final static int WRITE = SelectionKey.OP_WRITE;
	
	// Page
	

}
